﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Meeting.Web.Admin.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>东莞市国土资源局会议管理系统</title>
    <script src="../Scripts/jquery-1.8.2.js" type="text/javascript"></script>
    
    <!--样式文件-->
    <link href="../Css/base.css" rel="Stylesheet" type="text/css" />
    <link href="../Css/main.css" rel="Stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../Css/leftmenu.css" />
    <script type="text/javascript">
        $(document).ready(function () {
            //二级菜单关闭
            $('#menu ul').hide();
            //一级菜单被点击
            $('#menu li a').click(function () {
                $('#menu li a').removeClass("navactive");
                $(this).addClass("navactive");
                var checkElement = $(this).next();
                if ((checkElement.is('ul')) && (checkElement.is(':visible'))) {
                    return false;
                }
                if ((checkElement.is('ul')) && (!checkElement.is(':visible'))) {
                    $('#menu ul:visible').slideUp('normal');
                    checkElement.slideDown('normal');
                    return false;
                }
            });
            $('.con_bar').toggle(function () { $('.left').hide(); $('.con_bar').addClass("con_bar2"); },
             function () { $('.left').show(); $('.con_bar').removeClass("con_bar2"); })

           // $("#mainFrame").attr("src", "Main.aspx"); //设置首页

        });
        function getTimeStr() {   //时间字符串
            var sTime = "";
            var now = new Date();
            var sec = now.getSeconds();
            var hr = now.getHours();
            var min = now.getMinutes();
            if (hr <= 9) hr = "0" + hr;
            if (min <= 9) min = "0" + min;
            if (sec <= 9) sec = "0" + sec;
            sTime = hr + "_" + min + "_" + sec;
            //
            return sTime;
        }
        //设置mianframe宽度
         var u = navigator.userAgent.toLowerCase(), app = navigator.appVersion;
        function setmain() { 
            if (u.indexOf('ipad') > -1) { //判断ipad直接放大 
                $(".head").width(1400); 
                return;
            }
            //alert('pc');
            if ($(".left").css("display") == "none") {
               $(".main").width(document.body.offsetWidth);
            }
            else { 
               $(".main").width(document.body.offsetWidth - $(".left").width() - 18); 
            } 
        }
         
        window.onresize = function () {
            setmain();
        }

        $(function () {
             setmain();
        }); 
    </script>
</head>
<body>
    <div class="head">
        <div class="center textleft">
            <img src="../Images/logo.jpg" alt="" />
        </div>
    </div>
    <div id="mainFrameContainer">
        <table cellpadding="0" cellspacing="0" class="vtop">
            <tr>
                <td style=" background:#646498">
                    <div class="left" style="display: block;">
                        <ul id="menu">
                            <li><a href="#" class="navactive">会议管理</a>
                                <ul>
                                    <li><a target="mainFrame" href="MeetingPre/MeetingAdd.aspx?psnID=<%=psnID%>"+>添加会议</a></li>
                                    <li><a target="mainFrame" href="MeetingPre/Meeting.aspx?psnID=<%=psnID%>">会议管理</a></li>
                                    <li><a target="mainFrame" href="MeetingPre/MeetingStatusSet.aspx?psnID=<%=psnID%>">会议状态</a></li>
                                    <li><a target="mainFrame" href="MeetingStand/StandMeetingAdd.aspx?psnID=<%=psnID%>">常设会议添加</a></li>
                                    <li><a target="mainFrame" href="MeetingStand/StandMeeting.aspx?psnID=<%=psnID%>">常设会议管理</a></li>
                                    <li><a target="mainFrame" href="Topic/Topic.aspx?psnID=<%=psnID%>">议题管理</a></li>
                                    <li><a target="mainFrame" href="Summary/Summary.aspx?psnID=<%=psnID%>">会议纪要</a></li>
                                </ul>
                            </li>
                            <li><a href="#">会后管理</a>
                                <ul>
                                    <li><a target="mainFrame" href="MeetingAfter/AttendanceStatistics.aspx?psnID=<%=psnID%>">签到统计</a></li>
                                    <li><a target="mainFrame" href="MeetingAfter/FileSearch.aspx?psnID=<%=psnID%>">资料查询</a></li>
                                  <%--  <li><a target="mainFrame" href="#">会议纪要查询</a></li>--%>
                                </ul>
                            </li>
                            <li><a href="#">投票管理</a>
                                <ul>
                                    <li><a target="mainFrame" href="BaseSet/Vote.aspx?psnID=<%=psnID%>">投票管理</a></li>
                                    <li><a target="mainFrame" href="MeetingAfter/VoteStatistics.aspx?psnID=<%=psnID%>">投票统计</a></li>
                                </ul>
                            </li>
                            <li><a href="#">系统设置</a>
                                <ul>
                                   <li><a target="mainFrame" href="BaseSet/SubOffice.aspx">分局设置</a></li>
                                    <li><a target="mainFrame" href="BaseSet/Room.aspx?psnID=<%=psnID%>">会议室管理</a></li>
                                     <li><a target="mainFrame" href="BaseSet/VideoRoom.aspx">视频会议室</a></li>
                                     <%--<li><a target="mainFrame" href="BaseSet/Employee.aspx">人员管理</a></li>--%>
                                    <%--  <li><a target="mainFrame" href="BaseSet/Role.aspx">角色管理</a></li>
                        <li><a target="mainFrame" href="#">角色分组</a></li>--%>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </td>
                <td class="con_bar"><div class=" width10"></div>
                </td>
                <td>
                    <div class="main" id="mainDiv" style=" width:1200px; overflow:auto">
                        <iframe id="mainFrame" name="mainFrame"   width="100%"   frameborder="no" scrolling="auto" marginheight="0"
                            src="">您的浏览器不支持框架!</iframe>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
